#require 'campaign_monitor'

class NewsletterController < ApplicationController
	
	skip_after_filter :add_google_analytics_code, :only => ["show"]

	caches_page :show
	
	CampaignMonitor::CAMPAIGN_MONITOR_API_KEY = "7fc49ec9a083d6d7ee891a88f65a38cf"

	def show
		@html_newsletter = HtmlNewsletter.find_by_permalink(params[:title])
		render :action => :show, :layout => "html_newsletter"
	end

end
